﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Protocol.Messages.Game.Chat
{
    public class ChatServerMessage : ChatAbstractServerMessage
    {
        public ChatServerMessage(int senderId, string senderName, int senderAccountId,
            byte channel, string content, int timestamp, string fingerprint)
            : base(channel, content, timestamp, fingerprint, NetworkMessageID.ChatServerMessage)
        {
            base.WriterBuffer.writeInt(senderId);
            base.WriterBuffer.writeUTF(senderName);
            base.WriterBuffer.writeInt(senderAccountId);
        }
    }
}
